package net.hn.hnms.biz.blueprint.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * Author: wangjr
 * 目录VO
 *
 * @date 2022-09-13
 */
@Data
@ApiModel("目录VO")
public class CatalogVO {

    @ApiModelProperty(value = "主键ID")
    private String catalogId;

    @ApiModelProperty(value = "父级id")
    private String parentId;

    @ApiModelProperty(value = "目录名称")
    private String catalogName;

    @ApiModelProperty(value = "子目录")
    private List<CatalogVO> children = new ArrayList<CatalogVO>();

    @ApiModelProperty(value = "部门Id")
    private Set<Long> orgIdList = new HashSet<>();

    @ApiModelProperty(value = "用户Id")
    private List<Long> userIdList = new ArrayList<Long>();

    @ApiModelProperty(value = "回显展示所有部门Id")
    private Set<Long> allDeptIdList = new HashSet<>();
}









